.class public Lcom/brixd/niceapp/userinfo/activity/UpUsersActivity;
.super Lcom/brixd/niceapp/activity/AbsActionBarSwipeBackActivity;
.source "UpUsersActivity.java"


# instance fields
.field private mAdapter:Lcom/brixd/niceapp/userinfo/adapter/UpUserAdapter;

.field private mAppId:I

.field private mCurPage:I

.field private mFooter:Landroid/view/ViewGroup;

.field private mFooterContent:Landroid/view/View;

.field private mFromMessage:Z

.field private mHasMoreUsers:Z

.field private mListView:Landroid/widget/ListView;

.field private mLoadingBar:Landroid/widget/ProgressBar;

.field private mLoadingTxt:Landroid/widget/TextView;

.field private mRequest:Lcom/brixd/niceapp/service/restful/NiceAppRestfulRequest;

.field private mRequestCache:Lcom/brixd/niceapp/util/CommunityDetailRequestCache;

.field private mRequestType:Ljava/lang/String;

.field private mScrollToEnd:Z

.field private mShowMore:Landroid/view/View;

.field private mUsers:Ljava/util/ArrayList;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/ArrayList",
            "<",
            "Lcom/brixd/niceapp/model/CommonUserModel;",
            ">;"
        }
    .end annotation
.end field


# direct methods
.method public constructor <init>()V
    .registers 3

    .prologue
    const/4 v1, 0x1

    .line 36
    invoke-direct {p0}, Lcom/brixd/niceapp/activity/AbsActionBarSwipeBackActivity;-><init>()V

    .line 54
    iput v1, p0, Lcom/brixd/niceapp/userinfo/activity/UpUsersActivity;->mCurPage:I

    .line 58
    const/4 v0, 0x0

    iput-boolean v0, p0, Lcom/brixd/niceapp/userinfo/activity/UpUsersActivity;->mScrollToEnd:Z

    .line 59
    iput-boolean v1, p0, Lcom/brixd/niceapp/userinfo/activity/UpUsersActivity;->mHasMoreUsers:Z

    return-void
.end method

.method static synthetic access$000(Lcom/brixd/niceapp/userinfo/activity/UpUsersActivity;)Z
    .registers 2
    .param p0, "x0"    # Lcom/brixd/niceapp/userinfo/activity/UpUsersActivity;

    .prologue
    .line 36
    iget-boolean v0, p0, Lcom/brixd/niceapp/userinfo/activity/UpUsersActivity;->mFromMessage:Z

    return v0
.end method

.method static synthetic access$100(Lcom/brixd/niceapp/userinfo/activity/UpUsersActivity;)Landroid/content/Context;
    .registers 2
    .param p0, "x0"    # Lcom/brixd/niceapp/userinfo/activity/UpUsersActivity;

    .prologue
    .line 36
    invoke-virtual {p0}, Lcom/brixd/niceapp/userinfo/activity/UpUsersActivity;->getContext()Landroid/content/Context;

    move-result-object v0

    return-object v0
.end method

.method static synthetic access$1000(Lcom/brixd/niceapp/userinfo/activity/UpUsersActivity;Ljava/lang/String;)V
    .registers 2
    .param p0, "x0"    # Lcom/brixd/niceapp/userinfo/activity/UpUsersActivity;
    .param p1, "x1"    # Ljava/lang/String;

    .prologue
    .line 36
    invoke-virtual {p0, p1}, Lcom/brixd/niceapp/userinfo/activity/UpUsersActivity;->setTopTitle(Ljava/lang/String;)V

    return-void
.end method

.method static synthetic access$1100(Lcom/brixd/niceapp/userinfo/activity/UpUsersActivity;)Landroid/os/Handler;
    .registers 2
    .param p0, "x0"    # Lcom/brixd/niceapp/userinfo/activity/UpUsersActivity;

    .prologue
    .line 36
    iget-object v0, p0, Lcom/brixd/niceapp/userinfo/activity/UpUsersActivity;->mHandler:Landroid/os/Handler;

    return-object v0
.end method

.method static synthetic access$1208(Lcom/brixd/niceapp/userinfo/activity/UpUsersActivity;)I
    .registers 3
    .param p0, "x0"    # Lcom/brixd/niceapp/userinfo/activity/UpUsersActivity;

    .prologue
    .line 36
    iget v0, p0, Lcom/brixd/niceapp/userinfo/activity/UpUsersActivity;->mCurPage:I

    add-int/lit8 v1, v0, 0x1

    iput v1, p0, Lcom/brixd/niceapp/userinfo/activity/UpUsersActivity;->mCurPage:I

    return v0
.end method

.method static synthetic access$1300(Lcom/brixd/niceapp/userinfo/activity/UpUsersActivity;)Lcom/brixd/niceapp/userinfo/adapter/UpUserAdapter;
    .registers 2
    .param p0, "x0"    # Lcom/brixd/niceapp/userinfo/activity/UpUsersActivity;

    .prologue
    .line 36
    iget-object v0, p0, Lcom/brixd/niceapp/userinfo/activity/UpUsersActivity;->mAdapter:Lcom/brixd/niceapp/userinfo/adapter/UpUserAdapter;

    return-object v0
.end method

.method static synthetic access$1400(Lcom/brixd/niceapp/userinfo/activity/UpUsersActivity;)Landroid/widget/TextView;
    .registers 2
    .param p0, "x0"    # Lcom/brixd/niceapp/userinfo/activity/UpUsersActivity;

    .prologue
    .line 36
    iget-object v0, p0, Lcom/brixd/niceapp/userinfo/activity/UpUsersActivity;->mLoadingTxt:Landroid/widget/TextView;

    return-object v0
.end method

.method static synthetic access$1500(Lcom/brixd/niceapp/userinfo/activity/UpUsersActivity;)Landroid/view/View;
    .registers 2
    .param p0, "x0"    # Lcom/brixd/niceapp/userinfo/activity/UpUsersActivity;

    .prologue
    .line 36
    iget-object v0, p0, Lcom/brixd/niceapp/userinfo/activity/UpUsersActivity;->mFooterContent:Landroid/view/View;

    return-object v0
.end method

.method static synthetic access$1600(Lcom/brixd/niceapp/userinfo/activity/UpUsersActivity;)V
    .registers 1
    .param p0, "x0"    # Lcom/brixd/niceapp/userinfo/activity/UpUsersActivity;

    .prologue
    .line 36
    invoke-direct {p0}, Lcom/brixd/niceapp/userinfo/activity/UpUsersActivity;->updateUsersCount()V

    return-void
.end method

.method static synthetic access$200(Lcom/brixd/niceapp/userinfo/activity/UpUsersActivity;)Landroid/content/Context;
    .registers 2
    .param p0, "x0"    # Lcom/brixd/niceapp/userinfo/activity/UpUsersActivity;

    .prologue
    .line 36
    invoke-virtual {p0}, Lcom/brixd/niceapp/userinfo/activity/UpUsersActivity;->getContext()Landroid/content/Context;

    move-result-object v0

    return-object v0
.end method

.method static synthetic access$300(Lcom/brixd/niceapp/userinfo/activity/UpUsersActivity;)Landroid/content/Context;
    .registers 2
    .param p0, "x0"    # Lcom/brixd/niceapp/userinfo/activity/UpUsersActivity;

    .prologue
    .line 36
    invoke-virtual {p0}, Lcom/brixd/niceapp/userinfo/activity/UpUsersActivity;->getContext()Landroid/content/Context;

    move-result-object v0

    return-object v0
.end method

.method static synthetic access$400(Lcom/brixd/niceapp/userinfo/activity/UpUsersActivity;)Ljava/util/ArrayList;
    .registers 2
    .param p0, "x0"    # Lcom/brixd/niceapp/userinfo/activity/UpUsersActivity;

    .prologue
    .line 36
    iget-object v0, p0, Lcom/brixd/niceapp/userinfo/activity/UpUsersActivity;->mUsers:Ljava/util/ArrayList;

    return-object v0
.end method

.method static synthetic access$500(Lcom/brixd/niceapp/userinfo/activity/UpUsersActivity;)Z
    .registers 2
    .param p0, "x0"    # Lcom/brixd/niceapp/userinfo/activity/UpUsersActivity;

    .prologue
    .line 36
    iget-boolean v0, p0, Lcom/brixd/niceapp/userinfo/activity/UpUsersActivity;->mScrollToEnd:Z

    return v0
.end method

.method static synthetic access$502(Lcom/brixd/niceapp/userinfo/activity/UpUsersActivity;Z)Z
    .registers 2
    .param p0, "x0"    # Lcom/brixd/niceapp/userinfo/activity/UpUsersActivity;
    .param p1, "x1"    # Z

    .prologue
    .line 36
    iput-boolean p1, p0, Lcom/brixd/niceapp/userinfo/activity/UpUsersActivity;->mScrollToEnd:Z

    return p1
.end method

.method static synthetic access$600(Lcom/brixd/niceapp/userinfo/activity/UpUsersActivity;)Z
    .registers 2
    .param p0, "x0"    # Lcom/brixd/niceapp/userinfo/activity/UpUsersActivity;

    .prologue
    .line 36
    iget-boolean v0, p0, Lcom/brixd/niceapp/userinfo/activity/UpUsersActivity;->mHasMoreUsers:Z

    return v0
.end method

.method static synthetic access$602(Lcom/brixd/niceapp/userinfo/activity/UpUsersActivity;Z)Z
    .registers 2
    .param p0, "x0"    # Lcom/brixd/niceapp/userinfo/activity/UpUsersActivity;
    .param p1, "x1"    # Z

    .prologue
    .line 36
    iput-boolean p1, p0, Lcom/brixd/niceapp/userinfo/activity/UpUsersActivity;->mHasMoreUsers:Z

    return p1
.end method

.method static synthetic access$700(Lcom/brixd/niceapp/userinfo/activity/UpUsersActivity;)Landroid/widget/ProgressBar;
    .registers 2
    .param p0, "x0"    # Lcom/brixd/niceapp/userinfo/activity/UpUsersActivity;

    .prologue
    .line 36
    iget-object v0, p0, Lcom/brixd/niceapp/userinfo/activity/UpUsersActivity;->mLoadingBar:Landroid/widget/ProgressBar;

    return-object v0
.end method

.method static synthetic access$800(Lcom/brixd/niceapp/userinfo/activity/UpUsersActivity;)Landroid/view/View;
    .registers 2
    .param p0, "x0"    # Lcom/brixd/niceapp/userinfo/activity/UpUsersActivity;

    .prologue
    .line 36
    iget-object v0, p0, Lcom/brixd/niceapp/userinfo/activity/UpUsersActivity;->mShowMore:Landroid/view/View;

    return-object v0
.end method

.method static synthetic access$900(Lcom/brixd/niceapp/userinfo/activity/UpUsersActivity;)V
    .registers 1
    .param p0, "x0"    # Lcom/brixd/niceapp/userinfo/activity/UpUsersActivity;

    .prologue
    .line 36
    invoke-direct {p0}, Lcom/brixd/niceapp/userinfo/activity/UpUsersActivity;->requestMoreUsers()V

    return-void
.end method

.method private getRequestType(Lcom/brixd/niceapp/constant/AppConstant$ModuleType;)Ljava/lang/String;
    .registers 5
    .param p1, "type"    # Lcom/brixd/niceapp/constant/AppConstant$ModuleType;

    .prologue
    .line 176
    if-nez p1, :cond_5

    .line 177
    const-string v0, ""

    .line 199
    :goto_4
    return-object v0

    .line 180
    :cond_5
    const-string v0, ""

    .line 182
    .local v0, "requestType":Ljava/lang/String;
    sget-object v1, Lcom/brixd/niceapp/userinfo/activity/UpUsersActivity$7;->$SwitchMap$com$brixd$niceapp$constant$AppConstant$ModuleType:[I

    invoke-virtual {p1}, Lcom/brixd/niceapp/constant/AppConstant$ModuleType;->ordinal()I

    move-result v2

    aget v1, v1, v2

    packed-switch v1, :pswitch_data_1c

    goto :goto_4

    .line 184
    :pswitch_13
    const-string v0, "zuimei.daily"

    .line 185
    goto :goto_4

    .line 188
    :pswitch_16
    const-string v0, "zuimei.nicegoods"

    .line 189
    goto :goto_4

    .line 192
    :pswitch_19
    const-string v0, "zuimei.community"

    .line 193
    goto :goto_4

    .line 182
    :pswitch_data_1c
    .packed-switch 0x1
        :pswitch_13
        :pswitch_16
        :pswitch_19
    .end packed-switch
.end method

.method private initData()V
    .registers 9

    .prologue
    const/16 v7, 0x14

    const/4 v3, 0x1

    const/4 v4, 0x0

    .line 75
    invoke-virtual {p0}, Lcom/brixd/niceapp/userinfo/activity/UpUsersActivity;->getIntent()Landroid/content/Intent;

    move-result-object v2

    const-string v5, "ModuleType"

    invoke-virtual {v2, v5}, Landroid/content/Intent;->getSerializableExtra(Ljava/lang/String;)Ljava/io/Serializable;

    move-result-object v1

    check-cast v1, Lcom/brixd/niceapp/constant/AppConstant$ModuleType;

    .line 76
    .local v1, "moduleType":Lcom/brixd/niceapp/constant/AppConstant$ModuleType;
    invoke-direct {p0, v1}, Lcom/brixd/niceapp/userinfo/activity/UpUsersActivity;->getRequestType(Lcom/brixd/niceapp/constant/AppConstant$ModuleType;)Ljava/lang/String;

    move-result-object v2

    iput-object v2, p0, Lcom/brixd/niceapp/userinfo/activity/UpUsersActivity;->mRequestType:Ljava/lang/String;

    .line 77
    invoke-virtual {p0}, Lcom/brixd/niceapp/userinfo/activity/UpUsersActivity;->getIntent()Landroid/content/Intent;

    move-result-object v2

    const-string v5, "AppId"

    const/4 v6, -0x1

    invoke-virtual {v2, v5, v6}, Landroid/content/Intent;->getIntExtra(Ljava/lang/String;I)I

    move-result v2

    iput v2, p0, Lcom/brixd/niceapp/userinfo/activity/UpUsersActivity;->mAppId:I

    .line 79
    invoke-virtual {p0}, Lcom/brixd/niceapp/userinfo/activity/UpUsersActivity;->getIntent()Landroid/content/Intent;

    move-result-object v2

    const-string v5, "FromMessage"

    invoke-virtual {v2, v5, v4}, Landroid/content/Intent;->getBooleanExtra(Ljava/lang/String;Z)Z

    move-result v2

    iput-boolean v2, p0, Lcom/brixd/niceapp/userinfo/activity/UpUsersActivity;->mFromMessage:Z

    .line 80
    invoke-virtual {p0}, Lcom/brixd/niceapp/userinfo/activity/UpUsersActivity;->getIntent()Landroid/content/Intent;

    move-result-object v2

    const-string v5, "UpUsers"

    invoke-virtual {v2, v5}, Landroid/content/Intent;->getSerializableExtra(Ljava/lang/String;)Ljava/io/Serializable;

    move-result-object v2

    check-cast v2, Ljava/util/ArrayList;

    iput-object v2, p0, Lcom/brixd/niceapp/userinfo/activity/UpUsersActivity;->mUsers:Ljava/util/ArrayList;

    .line 81
    iget-boolean v2, p0, Lcom/brixd/niceapp/userinfo/activity/UpUsersActivity;->mFromMessage:Z

    if-eqz v2, :cond_67

    .line 82
    iput-boolean v4, p0, Lcom/brixd/niceapp/userinfo/activity/UpUsersActivity;->mHasMoreUsers:Z

    .line 91
    :goto_43
    new-instance v2, Lcom/brixd/niceapp/userinfo/adapter/UpUserAdapter;

    iget-object v4, p0, Lcom/brixd/niceapp/userinfo/activity/UpUsersActivity;->mUsers:Ljava/util/ArrayList;

    invoke-direct {v2, p0, v4}, Lcom/brixd/niceapp/userinfo/adapter/UpUserAdapter;-><init>(Landroid/content/Context;Ljava/util/List;)V

    iput-object v2, p0, Lcom/brixd/niceapp/userinfo/activity/UpUsersActivity;->mAdapter:Lcom/brixd/niceapp/userinfo/adapter/UpUserAdapter;

    .line 93
    new-instance v2, Lcom/brixd/niceapp/util/CommunityDetailRequestCache;

    invoke-direct {v2, p0}, Lcom/brixd/niceapp/util/CommunityDetailRequestCache;-><init>(Landroid/content/Context;)V

    iput-object v2, p0, Lcom/brixd/niceapp/userinfo/activity/UpUsersActivity;->mRequestCache:Lcom/brixd/niceapp/util/CommunityDetailRequestCache;

    .line 94
    iget-object v2, p0, Lcom/brixd/niceapp/userinfo/activity/UpUsersActivity;->mRequestCache:Lcom/brixd/niceapp/util/CommunityDetailRequestCache;

    invoke-virtual {v2, v3}, Lcom/brixd/niceapp/util/CommunityDetailRequestCache;->setScrollToUpUsers(Z)V

    .line 96
    invoke-static {p0}, Lcom/brixd/niceapp/service/adapter/ReqRestAdapter;->niceAppAdapter(Landroid/content/Context;)Lretrofit/RestAdapter;

    move-result-object v2

    const-class v3, Lcom/brixd/niceapp/service/restful/NiceAppRestfulRequest;

    invoke-virtual {v2, v3}, Lretrofit/RestAdapter;->create(Ljava/lang/Class;)Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Lcom/brixd/niceapp/service/restful/NiceAppRestfulRequest;

    iput-object v2, p0, Lcom/brixd/niceapp/userinfo/activity/UpUsersActivity;->mRequest:Lcom/brixd/niceapp/service/restful/NiceAppRestfulRequest;

    .line 97
    return-void

    .line 84
    :cond_67
    iget-object v2, p0, Lcom/brixd/niceapp/userinfo/activity/UpUsersActivity;->mUsers:Ljava/util/ArrayList;

    invoke-virtual {v2}, Ljava/util/ArrayList;->size()I

    move-result v2

    if-le v2, v7, :cond_7c

    .line 85
    iget-object v2, p0, Lcom/brixd/niceapp/userinfo/activity/UpUsersActivity;->mUsers:Ljava/util/ArrayList;

    invoke-virtual {v2, v4, v7}, Ljava/util/ArrayList;->subList(II)Ljava/util/List;

    move-result-object v0

    .line 86
    .local v0, "curPageUsers":Ljava/util/List;, "Ljava/util/List<Lcom/brixd/niceapp/model/CommonUserModel;>;"
    new-instance v2, Ljava/util/ArrayList;

    invoke-direct {v2, v0}, Ljava/util/ArrayList;-><init>(Ljava/util/Collection;)V

    iput-object v2, p0, Lcom/brixd/niceapp/userinfo/activity/UpUsersActivity;->mUsers:Ljava/util/ArrayList;

    .line 88
    .end local v0    # "curPageUsers":Ljava/util/List;, "Ljava/util/List<Lcom/brixd/niceapp/model/CommonUserModel;>;"
    :cond_7c
    iget-object v2, p0, Lcom/brixd/niceapp/userinfo/activity/UpUsersActivity;->mUsers:Ljava/util/ArrayList;

    invoke-virtual {v2}, Ljava/util/ArrayList;->size()I

    move-result v2

    const/16 v5, 0xa

    if-le v2, v5, :cond_8a

    move v2, v3

    :goto_87
    iput-boolean v2, p0, Lcom/brixd/niceapp/userinfo/activity/UpUsersActivity;->mHasMoreUsers:Z

    goto :goto_43

    :cond_8a
    move v2, v4

    goto :goto_87
.end method

.method private initWidgets()V
    .registers 4

    .prologue
    const/4 v2, 0x0

    .line 100
    const v0, 0x7f0200b2

    invoke-virtual {p0, v0}, Lcom/brixd/niceapp/userinfo/activity/UpUsersActivity;->setBackIcon(I)V

    .line 101
    const/16 v0, 0x8

    invoke-virtual {p0, v0}, Lcom/brixd/niceapp/userinfo/activity/UpUsersActivity;->setCommitBtnVisibility(I)V

    .line 102
    new-instance v0, Ljava/lang/StringBuilder;

    invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V

    const-string v1, "\u7f8e\u4e00\u4e0b\u7528\u6237("

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    iget-object v1, p0, Lcom/brixd/niceapp/userinfo/activity/UpUsersActivity;->mUsers:Ljava/util/ArrayList;

    invoke-virtual {v1}, Ljava/util/ArrayList;->size()I

    move-result v1

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string v1, ")"

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {p0, v0}, Lcom/brixd/niceapp/userinfo/activity/UpUsersActivity;->setTopTitle(Ljava/lang/String;)V

    .line 104
    const v0, 0x7f030043

    invoke-static {p0, v0, v2}, Landroid/view/View;->inflate(Landroid/content/Context;ILandroid/view/ViewGroup;)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/view/ViewGroup;

    iput-object v0, p0, Lcom/brixd/niceapp/userinfo/activity/UpUsersActivity;->mFooter:Landroid/view/ViewGroup;

    .line 105
    const v0, 0x7f030044

    invoke-static {p0, v0, v2}, Landroid/view/View;->inflate(Landroid/content/Context;ILandroid/view/ViewGroup;)Landroid/view/View;

    move-result-object v0

    iput-object v0, p0, Lcom/brixd/niceapp/userinfo/activity/UpUsersActivity;->mFooterContent:Landroid/view/View;

    .line 106
    iget-object v0, p0, Lcom/brixd/niceapp/userinfo/activity/UpUsersActivity;->mFooterContent:Landroid/view/View;

    const v1, 0x7f0a00fe

    invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    iput-object v0, p0, Lcom/brixd/niceapp/userinfo/activity/UpUsersActivity;->mShowMore:Landroid/view/View;

    .line 107
    iget-object v0, p0, Lcom/brixd/niceapp/userinfo/activity/UpUsersActivity;->mFooterContent:Landroid/view/View;

    const v1, 0x7f0a00ff

    invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/brixd/niceapp/userinfo/activity/UpUsersActivity;->mLoadingTxt:Landroid/widget/TextView;

    .line 108
    iget-object v0, p0, Lcom/brixd/niceapp/userinfo/activity/UpUsersActivity;->mFooterContent:Landroid/view/View;

    const v1, 0x7f0a0100

    invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ProgressBar;

    iput-object v0, p0, Lcom/brixd/niceapp/userinfo/activity/UpUsersActivity;->mLoadingBar:Landroid/widget/ProgressBar;

    .line 109
    iget-object v0, p0, Lcom/brixd/niceapp/userinfo/activity/UpUsersActivity;->mFooter:Landroid/view/ViewGroup;

    iget-object v1, p0, Lcom/brixd/niceapp/userinfo/activity/UpUsersActivity;->mFooterContent:Landroid/view/View;

    invoke-virtual {v0, v1}, Landroid/view/ViewGroup;->addView(Landroid/view/View;)V

    .line 111
    const v0, 0x7f0a002b

    invoke-virtual {p0, v0}, Lcom/brixd/niceapp/userinfo/activity/UpUsersActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ListView;

    iput-object v0, p0, Lcom/brixd/niceapp/userinfo/activity/UpUsersActivity;->mListView:Landroid/widget/ListView;

    .line 112
    iget-object v0, p0, Lcom/brixd/niceapp/userinfo/activity/UpUsersActivity;->mListView:Landroid/widget/ListView;

    const v1, 0x7f02026a

    invoke-virtual {v0, v1}, Landroid/widget/ListView;->setSelector(I)V

    .line 113
    iget-boolean v0, p0, Lcom/brixd/niceapp/userinfo/activity/UpUsersActivity;->mHasMoreUsers:Z

    if-eqz v0, :cond_98

    iget v0, p0, Lcom/brixd/niceapp/userinfo/activity/UpUsersActivity;->mAppId:I

    if-ltz v0, :cond_98

    iget-object v0, p0, Lcom/brixd/niceapp/userinfo/activity/UpUsersActivity;->mRequestType:Ljava/lang/String;

    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-nez v0, :cond_98

    .line 114
    iget-object v0, p0, Lcom/brixd/niceapp/userinfo/activity/UpUsersActivity;->mListView:Landroid/widget/ListView;

    iget-object v1, p0, Lcom/brixd/niceapp/userinfo/activity/UpUsersActivity;->mFooter:Landroid/view/ViewGroup;

    invoke-virtual {v0, v1}, Landroid/widget/ListView;->addFooterView(Landroid/view/View;)V

    .line 116
    :cond_98
    iget-object v0, p0, Lcom/brixd/niceapp/userinfo/activity/UpUsersActivity;->mListView:Landroid/widget/ListView;

    iget-object v1, p0, Lcom/brixd/niceapp/userinfo/activity/UpUsersActivity;->mAdapter:Lcom/brixd/niceapp/userinfo/adapter/UpUserAdapter;

    invoke-virtual {v0, v1}, Landroid/widget/ListView;->setAdapter(Landroid/widget/ListAdapter;)V

    .line 118
    return-void
.end method

.method private initWidgetsActions()V
    .registers 3

    .prologue
    .line 121
    new-instance v0, Lcom/brixd/niceapp/userinfo/activity/UpUsersActivity$1;

    invoke-direct {v0, p0}, Lcom/brixd/niceapp/userinfo/activity/UpUsersActivity$1;-><init>(Lcom/brixd/niceapp/userinfo/activity/UpUsersActivity;)V

    invoke-virtual {p0, v0}, Lcom/brixd/niceapp/userinfo/activity/UpUsersActivity;->setOnBackClickListener(Landroid/view/View$OnClickListener;)V

    .line 129
    iget-object v0, p0, Lcom/brixd/niceapp/userinfo/activity/UpUsersActivity;->mListView:Landroid/widget/ListView;

    new-instance v1, Lcom/brixd/niceapp/userinfo/activity/UpUsersActivity$2;

    invoke-direct {v1, p0}, Lcom/brixd/niceapp/userinfo/activity/UpUsersActivity$2;-><init>(Lcom/brixd/niceapp/userinfo/activity/UpUsersActivity;)V

    invoke-virtual {v0, v1}, Landroid/widget/ListView;->setOnItemClickListener(Landroid/widget/AdapterView$OnItemClickListener;)V

    .line 146
    iget-object v0, p0, Lcom/brixd/niceapp/userinfo/activity/UpUsersActivity;->mListView:Landroid/widget/ListView;

    new-instance v1, Lcom/brixd/niceapp/userinfo/activity/UpUsersActivity$3;

    invoke-direct {v1, p0}, Lcom/brixd/niceapp/userinfo/activity/UpUsersActivity$3;-><init>(Lcom/brixd/niceapp/userinfo/activity/UpUsersActivity;)V

    invoke-virtual {v0, v1}, Landroid/widget/ListView;->setOnScrollListener(Landroid/widget/AbsListView$OnScrollListener;)V

    .line 163
    iget-object v0, p0, Lcom/brixd/niceapp/userinfo/activity/UpUsersActivity;->mShowMore:Landroid/view/View;

    new-instance v1, Lcom/brixd/niceapp/userinfo/activity/UpUsersActivity$4;

    invoke-direct {v1, p0}, Lcom/brixd/niceapp/userinfo/activity/UpUsersActivity$4;-><init>(Lcom/brixd/niceapp/userinfo/activity/UpUsersActivity;)V

    invoke-virtual {v0, v1}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 173
    return-void
.end method

.method private requestMoreUsers()V
    .registers 8

    .prologue
    .line 231
    iget-object v0, p0, Lcom/brixd/niceapp/userinfo/activity/UpUsersActivity;->mRequest:Lcom/brixd/niceapp/service/restful/NiceAppRestfulRequest;

    iget v1, p0, Lcom/brixd/niceapp/userinfo/activity/UpUsersActivity;->mAppId:I

    iget-object v2, p0, Lcom/brixd/niceapp/userinfo/activity/UpUsersActivity;->mRequestType:Ljava/lang/String;

    const/4 v3, 0x2

    iget v4, p0, Lcom/brixd/niceapp/userinfo/activity/UpUsersActivity;->mCurPage:I

    add-int/lit8 v4, v4, 0x1

    const/16 v5, 0x14

    new-instance v6, Lcom/brixd/niceapp/userinfo/activity/UpUsersActivity$6;

    invoke-direct {v6, p0}, Lcom/brixd/niceapp/userinfo/activity/UpUsersActivity$6;-><init>(Lcom/brixd/niceapp/userinfo/activity/UpUsersActivity;)V

    invoke-interface/range {v0 .. v6}, Lcom/brixd/niceapp/service/restful/NiceAppRestfulRequest;->queryUpUsers(ILjava/lang/String;IIILretrofit/Callback;)V

    .line 270
    return-void
.end method

.method private updateUsersCount()V
    .registers 6

    .prologue
    .line 203
    iget-boolean v0, p0, Lcom/brixd/niceapp/userinfo/activity/UpUsersActivity;->mFromMessage:Z

    if-eqz v0, :cond_5

    .line 227
    :goto_4
    return-void

    .line 206
    :cond_5
    iget-object v0, p0, Lcom/brixd/niceapp/userinfo/activity/UpUsersActivity;->mRequest:Lcom/brixd/niceapp/service/restful/NiceAppRestfulRequest;

    iget v1, p0, Lcom/brixd/niceapp/userinfo/activity/UpUsersActivity;->mAppId:I

    iget-object v2, p0, Lcom/brixd/niceapp/userinfo/activity/UpUsersActivity;->mRequestType:Ljava/lang/String;

    const/4 v3, 0x2

    new-instance v4, Lcom/brixd/niceapp/userinfo/activity/UpUsersActivity$5;

    invoke-direct {v4, p0}, Lcom/brixd/niceapp/userinfo/activity/UpUsersActivity$5;-><init>(Lcom/brixd/niceapp/userinfo/activity/UpUsersActivity;)V

    invoke-interface {v0, v1, v2, v3, v4}, Lcom/brixd/niceapp/service/restful/NiceAppRestfulRequest;->queryUpUsersCount(ILjava/lang/String;ILretrofit/Callback;)V

    goto :goto_4
.end method


# virtual methods
.method protected onCreate(Landroid/os/Bundle;)V
    .registers 3
    .param p1, "savedInstanceState"    # Landroid/os/Bundle;

    .prologue
    .line 63
    invoke-super {p0, p1}, Lcom/brixd/niceapp/activity/AbsActionBarSwipeBackActivity;->onCreate(Landroid/os/Bundle;)V

    .line 64
    const v0, 0x7f03001d

    invoke-virtual {p0, v0}, Lcom/brixd/niceapp/userinfo/activity/UpUsersActivity;->setContentView(I)V

    .line 66
    invoke-direct {p0}, Lcom/brixd/niceapp/userinfo/activity/UpUsersActivity;->initData()V

    .line 67
    invoke-direct {p0}, Lcom/brixd/niceapp/userinfo/activity/UpUsersActivity;->initWidgets()V

    .line 68
    invoke-direct {p0}, Lcom/brixd/niceapp/userinfo/activity/UpUsersActivity;->initWidgetsActions()V

    .line 70
    invoke-direct {p0}, Lcom/brixd/niceapp/userinfo/activity/UpUsersActivity;->updateUsersCount()V

    .line 71
    return-void
.end method
